package com.jiangxjsy.gateway.property;

import com.jiangxjsy.core.constant.TokenConstant;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/3 21:53
 */

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "wukong-crm.token")
@Slf4j
public class TokenProperty {
    /**
     * token 模式，默认为 jwt-uuid 模式
     */
    private String tokenMode = TokenConstant.TOKEN_MODE_JWT_UUID;
}
